package T6;

public class Musician {
    private String name;

    public Musician() {
    }

    public Musician(String name) {
        this.name = name;
    }
    public void play(Instrument  i){
        i.makeSound(name);
    }
}
